﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace test_6_18
{
    class Resident
    {
        private int IDcard;
        private string Name;
        private string birthday;
        public Resident(int iDcard, string name, string birthday)
        {
            IDcard = iDcard;
            Name = name;
            this.birthday = birthday;
        }
        public string getInfor()
        {
            return "IDcard:" + IDcard.ToString() + " Name:" + Name + " birthday:" + birthday;
        }
    }
}
